home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / vbasic / insure2.exe / REPORT.FRM < prev    next >
Text File  |  1993-07-22  |  4KB  |  137 lines

  1. VERSION 2.00
  2. Begin Form Report 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   3  'Fixed Double
  5.    Caption         =   "Report"
  6.    ClientHeight    =   5475
  7.    ClientLeft      =   1245
  8.    ClientTop       =   1605
  9.    ClientWidth     =   6300
  10.    ControlBox      =   0   'False
  11.    Height          =   5880
  12.    Left            =   1185
  13.    LinkMode        =   1  'Source
  14.    LinkTopic       =   "Form4"
  15.    MaxButton       =   0   'False
  16.    MinButton       =   0   'False
  17.    ScaleHeight     =   5475
  18.    ScaleWidth      =   6300
  19.    Top             =   1260
  20.    Width           =   6420
  21.    Begin SSPanel Panel3D1 
  22.       Alignment       =   7  'Center - MIDDLE
  23.       AutoSize        =   0  'None
  24.       BackColor       =   &H00C0C0C0&
  25.       BevelInner      =   1  'Inset
  26.       BevelOuter      =   0  'None
  27.       BevelWidth      =   3
  28.       BorderWidth     =   3
  29.       FloodColor      =   &H00FF0000&
  30.       FloodShowPct    =   -1  'True
  31.       FloodType       =   0  'None
  32.       Font3D          =   2  'Raised w/heavy shading
  33.       ForeColor       =   &H00000000&
  34.       Height          =   1155
  35.       Left            =   2505
  36.       Outline         =   0   'False
  37.       RoundedCorners  =   -1  'True
  38.       ShadowColor     =   0  'Dark Grey
  39.       TabIndex        =   0
  40.       Top             =   5730
  41.       Width           =   4335
  42.       Begin SSCommand Command3D1 
  43.          AutoSize        =   0  'None
  44.          BevelWidth      =   2
  45.          Caption         =   "Finished - Exit"
  46.          Font3D          =   3  'Inset w/light shading
  47.          ForeColor       =   &H00000000&
  48.          Height          =   855
  49.          Left            =   2250
  50.          Outline         =   -1  'True
  51.          Picture         =   REPORT.FRX:0000
  52.          RoundedCorners  =   -1  'True
  53.          TabIndex        =   2
  54.          Top             =   165
  55.          Width           =   1875
  56.       End
  57.       Begin SSCommand Command3D3 
  58.          AutoSize        =   0  'None
  59.          BevelWidth      =   2
  60.          Caption         =   "Return to Main Form"
  61.          Font3D          =   3  'Inset w/light shading
  62.          ForeColor       =   &H00000000&
  63.          Height          =   855
  64.          Left            =   255
  65.          Outline         =   -1  'True
  66.          Picture         =   REPORT.FRX:0302
  67.          RoundedCorners  =   -1  'True
  68.          TabIndex        =   1
  69.          Top             =   165
  70.          Width           =   1875
  71.       End
  72.    End
  73.    Begin SSPanel Panel3D2 
  74.       Alignment       =   7  'Center - MIDDLE
  75.       AutoSize        =   0  'None
  76.       BackColor       =   &H00C0C0C0&
  77.       BevelInner      =   1  'Inset
  78.       BevelOuter      =   0  'None
  79.       BevelWidth      =   3
  80.       BorderWidth     =   3
  81.       Caption         =   "Report/Analysis"
  82.       FloodColor      =   &H00FF0000&
  83.       FloodShowPct    =   -1  'True
  84.       FloodType       =   0  'None
  85.       Font3D          =   2  'Raised w/heavy shading
  86.       FontBold        =   -1  'True
  87.       FontItalic      =   0   'False
  88.       FontName        =   "MS Sans Serif"
  89.       FontSize        =   12
  90.       FontStrikethru  =   0   'False
  91.       FontUnderline   =   0   'False
  92.       ForeColor       =   &H00000000&
  93.       Height          =   510
  94.       Left            =   3045
  95.       Outline         =   0   'False
  96.       RoundedCorners  =   -1  'True
  97.       ShadowColor     =   0  'Dark Grey
  98.       TabIndex        =   3
  99.       Top             =   75
  100.       Width           =   3375
  101.    End
  102. End
  103. Sub Command3D1_Click ()
  104. End
  105.  
  106. End Sub
  107.  
  108. Sub Command3D3_Click ()
  109. form1.Show
  110. report.Hide
  111. End Sub
  112.  
  113. Sub Form_Load ()
  114. report.WindowState = 2
  115.  
  116. End Sub
  117.  
  118. Sub Form_Paint ()
  119. report.Cls
  120. report.CurrentY = 1000
  121.     report.FontSize = 13.5
  122.     If form1.Option3D5.Value = -1 Then
  123.       title$ = "Mr. "
  124.     Else title$ = "Ms. "
  125.     End If
  126.     report.Print "Name: "; title$ + form1.BEdit1.Text
  127.     report.Print "Marital Status: "; status$
  128.     report.Print "Policy Number: 00283-A"
  129.     report.Print "Date of Birth: " + form1.BEdit5.Text + "/" + form1.BEdit2.Text + "/" + form1.BEdit3.Text
  130.     report.Print "Occupation: "; form1.HEdit2.Text
  131.     report.Print "State of Birth: "; form1.Combo1.Text
  132.     report.Print "State of Residence: "; form1.Combo2.Text
  133.     report.Print "Type of Policy: "; form1.Combo3.Text
  134.     report.Print "Amount to Insure: "; "$" + form1.BEdit7.Text + "," + form1.BEdit8.Text
  135. End Sub
  136.  
  137.